package city.spring.modules.ext.service.impl;

import city.spring.modules.ext.entity.TrainEmployeeExt;
import city.spring.modules.ext.repository.TrainEmployeeExtRepository;
import city.spring.modules.ext.service.TrainEmployeeExtService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TrainEmployeeExtServiceImpl extends ServiceImpl<TrainEmployeeExtRepository, TrainEmployeeExt> implements TrainEmployeeExtService {
    @Override
    public void deleteTrainEmployeeExt(String primaryKey) {
        removeById(primaryKey);
    }

    @Override
    public void deleteTrainEmployeeExt(List<String> primaryKeys) {
        removeByIds(primaryKeys);
    }

}
